<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>单文件组件</title>
</head>

<body>
  <!-- 准备一个容器 -->
  <div id="root">
    <h2>{{msg}}</h2>
  </div>

  <!-- 引入Vue -->
  <script src="../../js/vue.js"></script>
  <!-- 引入入口文件 -->
  <script src="./main.js"></script>
</body>

</html>